package com.wuhunyu.client.err;

import com.wuhunyu.client.ServiceUserClient;
import com.wuhunyu.commonutils.result.CommonResult;
import org.springframework.stereotype.Component;

/**
 * 用户模块的兜底方法
 *
 * @author wuhunyu
 * @version 1.0
 * @date 2021-01-27 15:40
 */
@Component
public class ServiceUserClientErr implements ServiceUserClient {

    @Override
    public CommonResult countRegister(String date) {
        return CommonResult.error("统计用户注册人数失败");
    }

}
